<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>添加业务</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link href="css/screen.css" rel="stylesheet" type="text/css">

<script type="text/javascript" src="js/dateTime.js"></script>

<script type="text/javascript"
	src="<%=path %>/My97DatePicker/WdatePicker.js"></script>
<link href="css/skin.css" rel="stylesheet" type="text/css" />
<link href="css/table.css" rel="stylesheet" type="text/css" />

<style type="text/css">
div.test {
	width: 100px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
</style>
</head>

<body>
	<s:form action="addbusiness" method="post"
		enctype="multipart/form-data" name="myform">
		<table><tr><td>
		<table class="class1" align="right" width="80%">
			<tr>
				<td colspan="3" align="center"><span class="title">新增业务</span>
				</td>
			</tr>

			<tr>
				<td align="center">业务名称:</td>
				<td><s:textfield name="business.name" /></td>
			</tr>
			<tr>
				<td align="center">业务介绍:</td>
				<td><s:textfield name="business.description" /></td>
			</tr>
			<tr>
				<td align="center">我方负责人:</td>
				<td><s:select list="userlist" listValue="name"
						headerValue="请选择" headerKey="-1" listKey="userid" value="name"
						name="userid" id="name"></s:select></td>
			</tr>
			<tr>
				<td align="center">对方负责人:</td>
				<td><s:textfield name="business.manager" /></td>
			</tr>
			<tr>
				<td align="center">联系方式:</td>
				<td><s:textfield name="business.phone" /></td>
			</tr>
			<tr>
				<td align="center">业务状态</td>
				<td><input type="radio" name="business.status" value="0">不活跃
					&nbsp;&nbsp;<input type="radio" name="business.status" value="1">活跃
				</td>
			</tr>
			<tr>
				<td></td>
				<td align="center"><input type="submit" value="确定" /></td>
			</tr>
		</table>
		</td></tr>
		<tr><td align="center">
		<a href="showallbusiness">返回查看所有业务</a></td></tr></table>
	</s:form>
</html>
